package com.lijiajian.dao;

import com.lijiajian.base.BaseMapper;
import com.lijiajian.pojo.SaleChance;
import com.lijiajian.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper extends BaseMapper<User,Integer> {
    //通过用户名查询记录，返回用户对象
    public User queryUserByName(String userName);

    //查询所有销售人员
    List<User> getAllSales();
}